/**
 * 
 */
package com.hongfeng.web.commons;

/**
 * 
 * <常量类>
 *
 * @author llcyyc
 * @date 创建时间：2013-1-8 上午10:49:10
 */
public class Constants {
	public static final String SESSION_LOGIN_USER = "SESSION_LOGIN_USER";

	// 用户角色

	// 默认每页显示记录数
	public static final int DEFAULT_PAGE_SIZE = 16;
	// 默认显示的页码数
	public static final int DEFAULT_INDEX_NUMBER = 5;

	// 数据状态
	public static final int STATUS_UNREPORTED = 0; // 未上报
	public static final int STATUS_REPORTED = 1; // 已上报

	// 用户角色
	public static final int ROLE_STAFF = 1; // 职能部门干部职工
	public static final int ROLE_OFFICER = 2; // 实践办人员
	public static final int ROLE_LEADER = 3; // 领导
	public static final int ROLE_ADMINISTRATOR = 4; // 系统管理员

	/* license */
	public static final String LICENSE_PROPERTY_FILE = "license.properties";
	public static final String LICENSE_FILE = "license.dat";
	public static final String PUBLIC_KEY = "public.key";
	
	/*菜单访问控制*/
	public static final String MENU_AUTHORIZATION = "menuAuthorization";
	
}
